package com.luntan.domain;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;


/**
 * AbstractMainTie entity provides the base persistence definition of the MainTie entity.
 */

public abstract class AbstractMainTie  implements java.io.Serializable {


    // Fields    

     private Integer mid;
     private TUser TUser;
     private String mtitle;
     private String mcontent;
     private Date mdate;

     private Set huiTies = new HashSet(0);


    // Constructors

    /** default constructor */
    public AbstractMainTie() {
    }

    /** minimal constructor */
    public AbstractMainTie(TUser TUser) {
        this.TUser = TUser;
    }
    
	/** minimal constructor */
    public AbstractMainTie(Integer mid, TUser TUser, String mtitle, String mcontent, Date mdate) {
        this.mid = mid;
        this.TUser = TUser;
        this.mtitle = mtitle;
        this.mcontent = mcontent;
        this.mdate = mdate;
    }
    
    /** full constructor */
    public AbstractMainTie(Integer mid, TUser TUser, String mtitle, String mcontent, Date mdate, Set huiTies) {
        this.mid = mid;
        this.TUser = TUser;
        this.mtitle = mtitle;
        this.mcontent = mcontent;
        this.mdate = mdate;
        this.huiTies = huiTies;
    }

   
    // Property accessors

    public Integer getMid() {
        return this.mid;
    }
    
    public void setMid(Integer mid) {
        this.mid = mid;
    }

    public TUser getTUser() {
        return this.TUser;
    }
    
    public void setTUser(TUser TUser) {
        this.TUser = TUser;
    }

    public String getMtitle() {
        return this.mtitle;
    }
    
    public void setMtitle(String mtitle) {
        this.mtitle = mtitle;
    }

    public String getMcontent() {
        return this.mcontent;
    }
    
    public void setMcontent(String mcontent) {
        this.mcontent = mcontent;
    }

    public Date getMdate() {
        return this.mdate;
    }
    
    public void setMdate(Date mdate) {
        this.mdate = mdate;
    }

    public Set getHuiTies() {
        return this.huiTies;
    }
    
    public void setHuiTies(Set huiTies) {
        this.huiTies = huiTies;
    }
   








}